<?php
/**
 * Created by PhpStorm.
 * User: zl
 * Date: 2017/7/24
 * Time: 12:53
 */
    require_once('../Common.php');
    require_once('LoanFee.php');

    $appID = $_REQUEST['appID'];

    $loan_fee = new LoanFee();
    $result_array = array();
    $r = $loan_fee->getLoanMoneyInfo($appID, false);

    if(!$r){
        $result_array['state'] = 0;
        $result_array['error'] = 'DB_ERROR';
    }
    else{
        $result_array['state'] = 1;
        $result_array['error'] = '';
        $result_array['data'] = $r;
    }

    echo json_encode($result_array);



?>